package com.hhh.petadopt.pojo;

import java.io.Serializable;
import java.util.Date;

public class News implements Serializable{

	private static final long serialVersionUID = 1L;
	/*
	 * `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) DEFAULT NULL,
  `writer` varchar(255) DEFAULT NULL,
  `image` varchar(500) DEFAULT NULL,
  `show` int(11) DEFAULT NULL,
  `ishot` int(11) DEFAULT NULL COMMENT '热门新闻,"1"表示热门,"0"表示普通新闻',
  `content` text COMMENT '新闻内容',
  `created` datetime DEFAULT NULL,
  `updated` datetime DEFAULT NULL,
	 */
	private Integer id;   //自动增长
	private String title;
	private String writer;
	private String image;
	private String desc;
	private Integer isshow;
	private Integer ishot;
	private String content;
	private Date createdd;
	private String created;
	private Date updated;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getWriter() {
		return writer;
	}
	public void setWriter(String writer) {
		this.writer = writer;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Integer getIsshow() {
		return isshow;
	}
	public void setIsshow(Integer isshow) {
		this.isshow = isshow;
	}
	public Integer getIshot() {
		return ishot;
	}
	public void setIshot(Integer ishot) {
		this.ishot = ishot;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public Date getCreatedd() {
		return createdd;
	}
	public void setCreatedd(Date createdd) {
		this.createdd = createdd;
	}
	public String getCreated() {
		return created;
	}
	public void setCreated(String created) {
		this.created = created;
	}
	public Date getUpdated() {
		return updated;
	}
	public void setUpdated(Date updated) {
		this.updated = updated;
	}
	
	
	
	

}
